package com.example.service.webhook.business.email.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(value = { "primaryVal", "keyColumns", "tableName" }, ignoreUnknown = true)
public class EmailBillInstallmentEntity implements Saveable {

	private long id;
	private String billId;
	private String emailId;
	private String userId;
	private String cardNo;
	private Date transDate;
	private Date postDate;
	private String installmentDesc;
	private String handingFeeDesc;
	private String transferFeeDesc;
	private int installmentType;
	private int totalMonth;
	private int currentMonth;
	private String currencyType;
	private BigDecimal amountMoney;
	private BigDecimal handingFee;
	private BigDecimal transferFee;
	private Date createTime;
	private Date lastModifyTime;
	
	
	 private static final String[] keyColumns       = { "id" };
	    private static final String   tableName        = "t_bill_installment";

	    @Override
	    public String getTableName() {
	        return tableName;
	    }

	    @Override
	    public String[] getKeyColumns() {
	        return keyColumns;
	    }
	    
	    @Override
	    public String getPrimaryVal() {
	        return String.valueOf(id);
	    }
	
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getEmailId() {
		return emailId;
	}
	public void setEmailId(String emailId) {
		this.emailId = emailId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getBillId() {
		return billId;
	}
	public void setBillId(String billId) {
		this.billId = billId;
	}
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	public Date getTransDate() {
		return transDate;
	}
	public void setTransDate(Date transDate) {
		this.transDate = transDate;
	}
	public Date getPostDate() {
		return postDate;
	}
	public void setPostDate(Date postDate) {
		this.postDate = postDate;
	}
	public String getInstallmentDesc() {
		return installmentDesc;
	}
	public void setInstallmentDesc(String installmentDesc) {
		this.installmentDesc = installmentDesc;
	}
	public String getHandingFeeDesc() {
		return handingFeeDesc;
	}
	public void setHandingFeeDesc(String handingFeeDesc) {
		this.handingFeeDesc = handingFeeDesc;
	}
	public String getTransferFeeDesc() {
		return transferFeeDesc;
	}
	public void setTransferFeeDesc(String transferFeeDesc) {
		this.transferFeeDesc = transferFeeDesc;
	}
	public int getInstallmentType() {
		return installmentType;
	}
	public void setInstallmentType(int installmentType) {
		this.installmentType = installmentType;
	}
	public int getTotalMonth() {
		return totalMonth;
	}
	public void setTotalMonth(int totalMonth) {
		this.totalMonth = totalMonth;
	}
	public int getCurrentMonth() {
		return currentMonth;
	}
	public void setCurrentMonth(int currentMonth) {
		this.currentMonth = currentMonth;
	}
	public String getCurrencyType() {
		return currencyType;
	}
	public void setCurrencyType(String currencyType) {
		this.currencyType = currencyType;
	}
	public BigDecimal getAmountMoney() {
		return amountMoney;
	}
	public void setAmountMoney(BigDecimal amountMoney) {
		this.amountMoney = amountMoney;
	}
	public BigDecimal getHandingFee() {
		return handingFee;
	}
	public void setHandingFee(BigDecimal handingFee) {
		this.handingFee = handingFee;
	}
	public BigDecimal getTransferFee() {
		return transferFee;
	}
	public void setTransferFee(BigDecimal transferFee) {
		this.transferFee = transferFee;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLastModifyTime() {
		return lastModifyTime;
	}
	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	
	
	

}
